<include file="../Public/header" />
<div id="content">
    <nosession name="mid">
        <menu id="publicmenu">
            <div class="pure-menu pure-menu-open">
                <ul>
                    <li>
                        <a href="{:U('w3g/Public/home')}">
                            <div class="sidebar-ico sidebar-home"></div>
                            <div>广场</div>
                        </a>
                    </li>
                    <li class="pure-menu-selected">
                        <a href="#login">
                            <div class="sidebar-ico sidebar-login"></div>
                            <div>登录</div>
                        </a>
                    </li>
                    <li>
                        <a href="{:U('w3g/Public/register')}">
                            <div class="sidebar-ico sidebar-register"></div>
                            <div>注册帐号</div>
                        </a>
                    </li>
                    <li>
                        <a href="{:U('w3g/Public/about')}">
                            <div class="sidebar-ico sidebar-about"></div>
                            <div>关于我们</div>
                        </a>
                    </li>
                </ul>
            </div>
        </menu>
    </nosession>
    <div id="people" class="panel pure-form pure-form-stacked ts-padding20" data-title="{$_title}" selected="true" data-footer="none" data-menu="publicmenu" data-load="$.ui.squareContainer();">
        <div id="people-find-recommend">
          <php>if(in_array($type, array('verify', 'official'))):</php>
          {:W('UserList', array('cid'=>$cid,'uids'=>$topUser,'type'=>$type,'verify'=>$verify,'pid'=>$pid, 'lastUid'=>$lastuid,'limit'=>20, 'page'=>$page))}
          <php>else:</php>
          {:W('UserList', array('cid'=>$cid,'sex'=>$sex,'area'=>$area,'verify'=>$verify,'type'=>$type, 'lastUid'=>$lastuid, 'limit'=>20,'page'=>$page))}
          <php>endif;</php>
        </div>
        <input type="hidden" id="sex" value="{$sex}"/>
        <input type="hidden" id="cid" value="{$cid}"/>
        <input type="hidden" id="area" value="{$area}"/>
        <input type="hidden" id="verify" value="{$verify}"/>
        <input type="hidden" id="type" value="{$type}"/>
    </div>
    <!--script type="text/javascript">
        //查找更多
        /*function findMore(){
            $.ajax({
                type : 'GET',
                data : {'cid': $("#cid").val(),'lastUid': $("#lastUid").val(),'sex':$("#sex").val(),'area':$("#area").val(),'verify':$("#verify").val(),'type':$("#type").val()},
                url : U('w3g/People/findMore'),
                success : function(data){
                    $("#lastUid").remove();
                    $("#people-find-recommend").append(data);
                }
            });
        }*/
    </script-->
    <include file="../Public/footer_public" />